//CommonJS
module.exports = function getDate() {
    const now = new Date();
      let year= now.getFullYear();
      let month= now.getMonth() + 1;
      let day= now.getDate();
      let hour= now.getHours();
      let minute= now.getMinutes();
      let second= now.getSeconds();
      return('当前时间'+year+'年'+month+'月'+day+'日'+hour+'时'+minute+'分'+second+'秒')
  }